package org.middlewaregr.services;

public class TestServices {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		ThesesServce thesesProposalServce = new ThesesServce();
		int proposal_id = thesesProposalServce.createThesesProposal(
				"test_title", "2010-01-02", "consultant", "professor_id",
				"status_id", "description_bla", "java, etc.", 15);

		System.out.println("proposal is: " + proposal_id);
		thesesProposalServce.updateProposalStatus(proposal_id, "rejected");
		thesesProposalServce.createCommentOnProposal(proposal_id, "2010-02-5",
				"tu sux", "pankov");
		int theses_id = thesesProposalServce.createTheses("2010-05-25",
				"c:/bla", "department", "faculty", proposal_id);
		thesesProposalServce.createThesesReview(theses_id, "pesho",
				"2010-2-20", "nishto obshto", "mnogo zle", "mnogo zle",
				"mnogo zle", "mnogo zle", "mnogo zle", 6);

	}
}
